{extend name='common/dialog'}
{block name='content'}
<div class="row">
    <div class="col-lg-12">
        <div class="card">
            <div class="card-body">
                <form class="form-horizontal" data-toggle="validator" method="POST" role="form" data-loading="3">
                    <div class="form-group">
                        <label for="title" class="control-label">标题</label>
                        <div class="form-item">
                            <input type="text" name="row[title]" placeholder="请输入标题" class="form-control" value=""
                                   id="title">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="link" class="control-label">链接</label>
                        <div class="form-item">
                            <input type="text" name="row[link]" placeholder="请输入链接" class="form-control" value=""
                                   id="link">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="add-icon" class="control-label">图标</label>
                        <div class="form-item">
                            <button type="button" class="btn btn-sm btn-danger webupload" id="add-icon"
                                    data-input-id="c-icon"
                                    data-preview-id="icon">轮播图上传
                            </button>
                            <input type="hidden" name="row[icon]" id="c-icon" value="">
                            <ul class="list-inline clearfix lyear-uploads-pic" id="icon">
                            </ul>
                        </div>
                    </div>
                    <div class="form-group hidden layer-footer">
                        <label class="control-label col-xs-12 col-sm-2"></label>
                        <div class="col-xs-12 col-sm-8">
                            <button type="submit" class="btn btn-success btn-embossed disabled">提交</button>
                            <button type="reset" class="btn btn-default btn-embossed">重置</button>
                        </div>
                    </div>

                </form>
            </div>
        </div>
    </div>
</div>
{/block}
